package com.bw.dao;

import bw.tonysong.framework.dao.BaseDao;
import com.bw.bean.Admin;

/**
 * @author admin
 * @date 2025年08月25日 20:21
 */
public class UserDaoImpl implements UserDao {

    @Override
    public Admin login(String name, String pwd) {
        String spl="SELECT * FROM admin WHERE adminName=? and adminPwd=? ";
        return BaseDao.findByObject(spl,Admin.class,name,pwd);
    }
}
